
#include "net.h"

#include <sys/epoll.h>
#include <fcntl.h>
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <string.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>


uint16_t tcp_client(p_main_flow mflow);
uint16_t tcp_server(p_main_flow mflow);
void tcp_clean(void* arg);
uint16_t tcp_send(p_socket_io sock, char* buf, uint16_t* size);
uint16_t tcp_recv(p_socket_io sock, char* buf, uint16_t* size);
